package com.zc.designmodel.structural.facade;

/**
 * @author: zhuCan
 * @date: 2020/4/14 13:27
 * @description:
 */
public class ShapeMaker {

  private Circle circle;
  private Rectangle rectangle;
  private Square square;

  public ShapeMaker(){
    circle=new Circle();
    rectangle=new Rectangle();
    square=new Square();
  }

  public void drawCircle(){
    circle.draw();
  }

  public void drawRectangle(){
    rectangle.draw();
  }

  public void drawSquare(){
    square.draw();
  }
}
